package com.platform.feign.spring.common;

/**
 * 基本常量
 */
public enum BaseConstants {

    SUCCESS("200", "操作成功"),
    ERROR("500", "操作失败");


    /**
     * 编码
     */
    private final String code;

    /**
     * 描述
     */
    private final String desc;


    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    BaseConstants(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }}
